package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseQueryRequestDTO;
import com.example.child_protection.enums.AttrTypeEnums;
import com.example.child_protection.enums.BooleanEnums;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 属性查询请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class AttrRequestDTO extends BaseQueryRequestDTO {

    /**
     * 属性ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "属性名称，模糊查询")
    private String attrName;

    /**
     * 类目ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "类目Id")
    private Long categoryId;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
